 

package com.zdkj.subway.stm.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zdkj.subway.stm.dto.out.SwStCycleTicketChangeDTO;
import com.zdkj.subway.stm.entity.SwStCycle;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;

/**
 * 站间调票
 *
 * @author zdkj code generator
 * @date 2020-05-27 19:40:05
 */
public interface SwStCycleMapper extends BaseMapper<SwStCycle> {

    Page<SwStCycle> pageMapper(Page page,@Param(Constants.WRAPPER) QueryWrapper<SwStCycle> allEq);

    SwStCycleTicketChangeDTO getTicketChange(@Param("before") LocalDate localDate,@Param("after") LocalDate after,@Param("station") String station);

    List<SwStCycle> getOverTime();

    List<SwStCycle> queryExport(@Param("ids") List<Integer> ids,@Param("param") Map<String,String> params);
}
